/*******//**//**//**//**CUSTOM CSS**//**//**//**//*******/
/* colors from logo */
/* red: rgb(156, 28, 18) */
/* blue: rgb(45, 86, 168) */
/* light-blue: #5091FC */

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700|Shadows+Into+Light');


/******* BASE *******/


body:not(.cs-home) .tm-content {
  margin-top: 4em;
}

body:not(.cs-home) h1 {
  margin-bottom: 1em;
  color: rgb(45, 86, 168);
}

body * {
  font-family: 'Open Sans', Ariel, sans-serif;
}

h1 {
  font-family: 'Lato', 'Open Sans', Ariel, sans-serif;
}

.tm-block {
    padding-right: 40px;
}

.uk-button-primary {
    background-color: #0E3D6F !important;
}

.uk-article-box {
    border: 2px solid #E56A54;
    width: 900px;
    padding: 35px;
    margin-left: auto;
    margin-right: auto;
    }

/* Who We Are Header */
.whoweare-mod {
    background-image: url('https://s3.amazonaws.com/NEP/web-images/NonProfitsConnect/NPC_WhoWeAre-image.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1.4;
    filter: brightness(95%);
    -webkit-filter: brightness(95%);
    -moz-filter: brightness(95%);
    -o-filter: brightness(95%);
    -ms-filter: brightness(95%);
    width: 100%;
    height: 400px;
}

/* Services Header */
.services-mod {
    background-image: url('https://s3.amazonaws.com/NEP/web-images/NonProfitsConnect/NPC_How-It-Works-image.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1.2;
    width: 100%;
    height: 400px;
}

/* Clients Header */
.clients-mod {
    background-image: url('https://s3.amazonaws.com/NEP/web-images/NonProfitsConnect/NPC_Our_Clients-image.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1.2;
    width: 100%;
    height: 400px;
}

/* Clients Header */
.mission-mod {
    /* background-image: url('/images/modules/NonprofitsConnect_Logo_ltgrey.png'); */
    background-size: 450px;
    background-position: 50%;
}

/* How it Works Header */
.cs-howitworks {
    background-color: #CDCDCD;
}

/* How it Works Slider */


.cust-business {
    background-color: #323232;
    background-image: url('/images/modules/dark-denim-3.png');
}

.uk-grid > * {
    padding: 0px;
}

.cust-marg {
    padding-left :80px;
}

.mod-marg {
    padding-left: 85px;
}

.page-header {
    padding-left: 40px;
}

.well {
    margin-left: 60px;
}

.cust-form {
    margin-left: 80px;
}

.cust-address {
    margin-top: 150px;
}
.cs-three {
    margin-bottom: -30px;
}

/*****What we do overlay****/
.what-we-do-container{
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
}

#outer-box {
  width: 350px;
  height: 250px;
  background: #fff;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  margin: 5px;
  border-bottom: 4px solid #0E3D6F;
}

/* line 9, ../sass/style.scss */
#outer-box img {
  width: 300px;
  height: auto;
}

#outer-box p {
  font-size: 120%;
  transition: all 0.5s cubic-bezier(.25,.8,.25,1);
  z-index: 1000;
  font-family: 'Lato', 'Open Sans', Ariel, sans-serif;
  /*border-bottom: 1px solid #fff;*/
}

#outer-p-tag{
  font-weight: bold !important;
  color: #0E3D6F;
}

#inner-box{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  font-size: .8em;
}

#inner-box p{
  margin: 0px;
  font-weight: lighter;
}    

/* line 14, ../sass/style.scss */
#outer-box #inner-box {
  background: #0E3D6F;
  background: -webkit-linear-gradient(to right, #0E3D6F, #092A4D);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #0E3D6F, #092A4D); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  height: 100%;
  width: 100%;
  opacity: 0;
  top: 0;
  left: 0;
  position: absolute;
  padding: 0;
  transition: opacity .5s;
}
/* line 25, ../sass/style.scss */
#outer-box #inner-box p {
  color: #fff;
  /*line-height: 150px;*/
  font-family: 'Lato', 'Open Sans', Ariel, sans-serif;
  /*text-align: center;*/
  width: 80%;
  border-left: 4px solid #fff;
  padding-left: 10px;
}
/* line 34, ../sass/style.scss */
#outer-box:hover #inner-box {
  opacity: 1;
  transition: opacity .5s;
  /*box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);*/
}

#outer-box:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

#outer-box:hover #outer-p-tag{
  transform: translateY(-75px);
  color: #fff;
  padding: 3px;
  font-size: 100%;
}

#outer-box:active #outer-p-tag{
  transform: translateY(-101px);
  color: #fff;
  padding: 3px;
  font-size: 100%;
}


/******* RS FORMS FIXES *******/

/* align form titles better */
.formResponsive .formHorizontal .formControlLabel {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
}

.cs-member-form-page .tm-sidebar-a > .uk-panel {
  background-color: #fff;
}

/******* Disclaimer below every donate button *******/

.cs-btn-disclaimer {
    position: absolute;
    left: 50%;
    bottom: 0%;
    width: 30em;
    text-align: center;
    line-height: 20px;
    color: rgba(255,255,255,0.66);
    font-size: 1em;
    font-style: italic;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}


/******* Social Icons *******/

.cs-social-icons {
  height: 3em;
}

.cs-social-icons a,
.tm-footer .uk-icon-button {
  color: #0d3c6d;
  border: none;
  width: 55px;
}


.cs-cta-container [class^="uk-icon-"] {
  border: 0 !important;
}

.cs-social-icons a:hover,
.cs-social-icons a:focus,
.tm-footer .uk-icon-button:hover,
.tm-footer .uk-icon-button:focus {
    background-color: transparent;
    color: #FA239F;
    outline: none;
}

.uk-icon-button:after,
.tm-footer .uk-icon-button:after {
  background: none;
}

.cs-mailing {
  position: relative;
}

.cs-mailing-btn {
    width: 14em;
    background-color: #0d3c6d;
    color: #fff;
    border: 1px solid #0d3c6d;
    font-weight: bold;
    font-size: 0.8em;
    padding: 0;
}


.cs-mailing-btn:hover,
.cs-mailing-btn:focus {
  color: #0d3c6d;
}

.cs-mailing-btn:before {
  background-color: #FA239F;
}

.cs-mailing-annotated-text,
.cs-mailing-annotated-arrow {
  display: none;
}

.cs-home .cs-mailing-annotated-arrow {
  display: block;
  position: absolute;
  width: 60px;
  top: 1.3em;
  left: -4.5em;
  -webkit-transform: rotate(30deg);
  transform: rotate(30deg);
}

.cs-home .cs-mailing-annotated-text {
  display: block;
  position: absolute;
  top: 1.8em;
  left: -2.3em;
  font-family: 'Shadows Into Light', 'Open Sans', sans-serif;
  color: #FF5A00;
  font-size: 3em;
  width: 8em;
  text-shadow: 4px 4px 5px rgba(33, 33, 33, 0.56);
}


/*******Navbar*******/

.tm-navbar {
  position: relative;
}

.uk-navbar {
  border: 0;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}


.cs-logo {
  margin: 20px 0 0 0;
  width: 80%;
  transition: 0.4s;
}

.uk-navbar-content.uk-hidden-small {
  margin: 0 0 20px 0;
  height:100%;
}

.uk-navbar-content.uk-hidden-small::before {
  height: auto;
}

.uk-navbar-nav > li:hover > a,
.uk-navbar-nav > li > a:focus,
.uk-navbar-nav > li.uk-open > a {
  color: #0D3C6D;
}

.uk-navbar-nav > li > a {
  color: #0d3c6d;
  font-size: 18px;
  cursor: pointer !important;
}

.uk-navbar-nav > li.uk-active > a {
  color: #fa239f;
  text-decoration: none;
}

.uk-dropdown-navbar {
font-family: Verdana !important;
color: #f7f7f7 !important;
}


/*when navbar is small*/

.tm-navbar-small .cs-social-icons {
  display: none;
  transition: 0.3s;
}

.tm-navbar-small .cs-logo {
  width: 148px;
  height: 80px;
  transition: 0.4s;
}

.tm-navbar-small .cs-mailing-annotated-arrow,
.tm-navbar-small .cs-mailing-annotated-text {
  display: none;
}

body:not(.cs-home) .cs-mailing-btn,
.tm-navbar-small .cs-mailing-btn {
  border: 1px solid #0d3c6d;
}

body:not(.cs-home) .cs-mailing-btn:before,
.tm-navbar-small .cs-mailing-btn:before {
  background-color: #FA239F;
}

.tm-navbar > div.uk-flex > .uk-navbar-center {
  position: absolute;
  top: 80%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}

.tm-navbar > div.uk-flex > .uk-navbar-center img {
  width: 5.25em;
}


/********Call to Action Bar*******/

.tm-block.tm-block-top-b.tm-block-padding-large {
  padding: 0;
}

section.tm-top-b.uk-grid {
  margin-bottom: 12px;
}

.cs-cta-container {
  height: 5em;
  margin-left: -10px;
}

.uk-panel.uk-panel-box.cs-cta {
    margin: 0;
    padding: 0;
    height: 78px;
    line-height: 20px;
    text-align: center;
}

.cs-cta-btn {
    position: relative;
    background-color: #043566;
    color: #37577D;
    font-size: 1.2em;
    font-weight: 500;
    border-right: 1px solid rgb(80,80,80);
    height: 100%;

}

.cs-cta-btn > i {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    color: rgb(230,230,230);
    font-size: 1.7em;
}

.cs-cta-btn:hover, .cs-cta-btn:focus {
    background-color: #FA239F;
    cursor: pointer;
    outline: none;
}


/*******Our Mission*******/

.cs-mission-container {
  height: auto;
  padding-bottom: 7em;
}

.cs-mission-container .uk-panel-title {
  color: rgb(45, 86, 168);
  font-weight: 500;
}

.cs-mission-statement {
    margin: 0 auto;
    max-width: 600px;
    padding: 1em;
}

.cs-mission-btn {
    margin: 3em auto !important;
    display: block;
    width: 16em;
    color: #000;
    border: 1px solid #000;
}

.cs-mission-btn:hover, .cs-mission-btn:focus {
    color: #000;
}

.cs-mission-btn:before {
    background-color: #000;
}


/*******What We Provide*******/

.cs-home .tm-top-d.uk-grid {
  background-color: rgb(50,50,50);
}

.cs-provide-container * {
  color: #fff;
}

.cs-provide-container {
  position: relative;
  height: 28em;
  max-width: 800px;
  margin: 0 auto !important;
  background-color: rgb(50,50,50);
}

.cs-provide-container > h3 {
    position: relative;
    z-index: 100;
    text-align: center;
    margin: 10px 0 66px 0;
    font-family: Lato;
    font-size: 32px;
    line-height: 30px;
    font-weight: normal;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cs-provide-container i {
  margin-right: 0.5em;
  color: rgb(184, 28, 18);
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  transition: 0.3s ease-out;
}

.cs-provide-container .uk-accordion-title.uk-active i {
  -webkit-transform: rotate(45deg);
  transition: 0.3s ease-out;
}

.cs-provide-accordion {
  margin-top: 115px;
}

.cs-provide-accordion > .uk-accordion-title {
  position: relative;
  font-weight: bold;
  font-size: 1.2em;
}

.cs-provide-accordio .uk-accordion-content {
  font-size: 1.1em;
}


/******* Foundation Story *******/

.cs-foundation-story-container {
    height: auto;
}

.cs-foundation-story-container > div.uk-grid-width-1-1 > div > .uk-panel {
    position: relative;
    margin-bottom: 5em;
}

.cs-foundation-story-container > div.uk-grid-width-1-1 > div > .uk-panel > p {
    position: absolute;
    bottom: -7%;
    left: 50%;
    -webkit-transform: translate(-50%,0);
    transform: translate(-50%,0);
}


/******* Bottom Donate Strip *******/

.cs-donate-btn-bottom-container {
  position: relative;
background: #0D3C6D;  /* fallback for old browsers */
background: -webkit-linear-gradient(to bottom, #3d628a, #0D3C6D);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to bottom, #3d628a, #0D3C6D); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  height: 6em;
}

.cs-donate-btn-bottom {
  position: absolute;
  top: 45%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  border: 2px solid #fff;
  color: #fff;
}

.cs-donate-btn-bottom:before {
  background-color: #fff;
}

.cs-donate-btn-bottom:hover,
.cs-donate-btn-bottom:focus {
  color: #fff;
  cursor: pointer;
  outline: none;
}

.cs-donate-btn-bottom-container .cs-btn-disclaimer {
  bottom: 20%;
  font-size: 1em;
}


/******* News *******/

.cs-news-container {
  margin: 0 !important;
}

.cs-news {
  margin: 0 auto;
  width: 70%;
}

.cs-news-thumb-div {
  display: inline-block;
}

.cs-news-right-div {
  display: inline-block;
}

.cs-news-thumb-div img {
      width: 300px;
}

/*******Home Contact*******/

.cs-home .tm-block-bottom-c {
  height: auto;
}

.cs-contact-container {

    height: auto;
    padding: 0 !important;
}

.cs-contact {
    position: relative;
    background-image: url('/images/modules/membership.jpg');
    background-size: cover;
    background-position: 50% 0%;
    height: 600px;
    margin: 0;
    color: #fff;
}

.cs-contact-overlay {
  padding: 0;
  height: 600px;
  background-image: url('/images/homeslider/bg-stripe.png');
}

.cs-contact-overlay h3, .cs-contact-overlay p {
  color: #fff !important;
}

.cs-contact-overlay .tm-panel-header-subtitle {
   margin: 90px auto 90px auto;
}

.cs-contact-wk {
  margin: 0;
  max-width: 62em;
  -webkit-transform: translate(3%,0);
  transform: translate(3%,0);
}

/* map */

.cs-contact-map {
  height: 500px;
  padding: 0;
}


/******* FOOTER *******/

.tm-footer {
    background: #CDCDCD;
    border-top: 3px solid #FC249E;
}

.cs-footer-irs {
  font-size: 0.8em;
  font-style: italic;
  text-transform: capitalize;
}

